package com.example.demo.service.exam;

import com.example.demo.domain.exam.ExamUserSingleQuesScore;

import java.util.List;

public interface ExamUserSingleQuesScoreService {

    void insertList(List<ExamUserSingleQuesScore> list, Integer totalScore);

    void insertOrUpdate(ExamUserSingleQuesScore entity);

    List<ExamUserSingleQuesScore> getByUserExamId(Long userId, Long examId);

   // ExamUserSingleQuesScore getByUserExamQuestionId(Long userId, Long examId, Long questionId);
    List<ExamUserSingleQuesScore> getByUserExamQuestionId(Long userId, Long examId, Long questionId);

    void insertOrUpdateList(List<ExamUserSingleQuesScore> list);

    void deleteByExamUserId(Long examId, Long userId);

    List<ExamUserSingleQuesScore> getByExamId(Long examId);

    void insertBatch(List<ExamUserSingleQuesScore> scores);
}
